//
//  HotCommentTableCell.m
//  AroundTheWorld
//
//  Created by dllo on 16/5/25.
//  Copyright © 2016年 IfelseGo an. All rights reserved.
//

#import "HotCommentTableCell.h"

@implementation HotCommentTableCell


- (void)setMyModel:(HotCommentModel *)myModel
{
    _myModel = myModel;
    self.authorLabel.text = _myModel.author;
    self.titleLabel.text = _myModel.title;
    self.reply_numLabel.text = [NSString stringWithFormat: @"%ld", (long)_myModel.reply_num];
    self.reply_timeLabel.text = _myModel.reply_time;
    self.forumLabel.text = _myModel.forum;
    [self.appview_urlImageV sd_setImageWithURL:[NSURL URLWithString:_myModel.avatar] placeholderImage:nil];
    NSMutableArray *arry = [NSMutableArray arrayWithArray:_myModel.bigpic];
    for (int i = 0; i < arry.count; i++) {
        UIImageView *imageV = [self viewWithTag:1000001 + i];
        [imageV sd_setImageWithURL:[NSURL URLWithString:arry[i]] placeholderImage:nil];
    }
    self.dk_backgroundColorPicker = DKColorPickerWithRGB(0xffffff,0xCFCFCF);
}


- (void)awakeFromNib {
    // Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
